feat(ci): add reusable copilot-setup-steps workflow + regression comments#97
Merged
JacobPEvans merged 2 commits intomainfrom Mar 15, 2026
Merged
feat(ci): add reusable copilot-setup-steps workflow + regression comments#97JacobPEvans merged 2 commits intomainfrom
JacobPEvans merged 2 commits intomainfrom
Conversation
…ents Create _copilot-setup-steps.yml reusable workflow for Nix-based Copilot coding agent environment setup. This centralizes the copilot setup that was copy-pasted across nix-home, nix-darwin, and nix-ai repos. Add regression-prevention comments to _nix-build.yml and _nix-validate.yml clarifying that determinate-nix-action@v3 is ONLY a Nix installer and does NOT include flake checking (prevents future AI-assisted regressions from stale training data conflating the two actions). (claude)
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds clarification and a reusable workflow to ensure Nix is installed consistently in CI and Copilot coding-agent environments, specifically documenting that flake validation is handled separately from installation.
Changes:
- Added explanatory comments to Nix validate/build reusable workflows to clarify determinate-nix-action’s scope.
- Introduced a new reusable workflow for Copilot agent setup that checks out the repo and installs Nix.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/_nix-validate.yml | Adds comments clarifying Nix installer vs. flake checking responsibilities. |
| .github/workflows/_nix-build.yml | Adds comments clarifying Nix installer responsibilities and where validation occurs. |
| .github/workflows/_copilot-setup-steps.yml | New reusable workflow to install Nix for Copilot coding agents. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Jacob <20714140+JacobPEvans@users.noreply.github.com>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_copilot-setup-steps.ymlreusable workflow for Nix-based Copilot coding agent environment setup, centralizing the identicalcopilot-setup-steps.ymlcopy-pasted across nix-home, nix-darwin, and nix-ai_nix-build.ymland_nix-validate.ymlclarifying thatdeterminate-nix-action@v3is ONLY a Nix installer (not a flake checker)Test plan
_copilot-setup-steps.ymlappears ingh workflow list🤖 Generated with Claude Code